package com.nidu.demo.post.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * 职位更新命令
 *
 * @author auto
 */
@Data
@Schema(description = "职位更新命令")
@EqualsAndHashCode(callSuper = true)
public class PositionUpdateCmd extends PositionAddCmd {

    /**
     * 职位ID
     */
    @NotNull(message = "职位ID不能为空")
    @Schema(description = "职位ID", example = "1")
    private Long id;

} 